from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import CityViewSet, RoomViewSet, HostViewSet, PasswordChangeLogViewSet, HostCountStatisticsViewSet

router = DefaultRouter()
router.register(r'cities', CityViewSet)
router.register(r'rooms', RoomViewSet)
router.register(r'hosts', HostViewSet)
router.register(r'password-logs', PasswordChangeLogViewSet)
router.register(r'statistics', HostCountStatisticsViewSet)

urlpatterns = [
    path('', include(router.urls)),
]